package com.wsoft.constant;

/**
 * 公共静态常量
 *
 * @author: juiet
 * @date: 2024年09月03日 14:23
 */
public class CommonConstant {
    /**
     * 是否
     */
    public static final int YESNO_YES = 1;
    public static final int YESNO_NO = 0;

    /**
     * http sessionId
     */
    public static final String SESSION_ID = "sessionId";
    /**
     *  http oss range
     */
    public static final String RANGE = "range";

    /**
     * http get
     */
    public static final String HTTP_GET="GET";
    /**
     * http post
     */
    public static final String HTTP_POST="POST";

    /**
     * 操作日志
     */
    public static final String LOG_TYPE_OPERATION = "operation";
    /**
     * 业务日志
     */
    public static final String LOG_TYPE_BUSINESS = "business";

    /**
     * 自定义表单 获取参数 designId
     */
    public static final String LOG_DESIGN_ID = "designId";
    /**
     * 日志 获取design bean名称
     */
    public static final String LOG_FORM_DESIGN_BEAN_NAME = "wfFormDesignManager";
    /**
     * 日志 获取design 方法名称
     */
    public static final String LOG_FORM_DESIGN_METHOD_NAME = "getById";
    /**
     * 日志 获取design 名称
     */
    public static final String LOG_FORM_DESIGN_NAME = "formDesignName";
    /**
     * form url 前缀
     */
    public static final String LOG_FORM_URL = "/wf/op";


    /**
     * designId 正则
     */
    public static final String LOG_DESIGN_ID_REGEX = "designId=(\\d+)";


    /**
     * job传参
     */
    public static final String JOB_PARAMS = "params";

    /**
     * job 最后一次执行时间
     */
    public static final String LAST_EXECUTE_TIME = "lastExecuteTime";

    /**
     * 当前执行时间
     */
    public static final String NOW_EXECUTE_TIME = "nowExecuteTime";

}
